package spring.cloud.tasks.tasks_assign_manager.task_item_assign_event;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TaskAddOrRemoveTaskItemAssignEvent implements TaskItemAssignEvent {
    public static final String type_task_add = "task_add";
    public static final String type_task_remove = "task_remove";
    private String taskId;
    private String type;

    public TaskAddOrRemoveTaskItemAssignEvent(String taskId, String type) {
        this.taskId = taskId;
        this.type = type;
    }
}
